<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
		<div>
			<span>当前第${pageInfo.pageNum }页，共${pageInfo.pages }页，共${pageInfo.total }条数据</span>
		</div>
<nav aria-label="Page navigation">
	<ul class="pagination">
		
		<c:if test="${pageInfo.hasPreviousPage==false}">
			<li class="disabled">
				<a href="javascript:;" aria-label="Previous" onclick="goPage(${pageInfo.prePage}); return false;"> <span aria-hidden="true">&laquo;</span></a>
			</li>
		</c:if>
		<c:if test="${pageInfo.hasPreviousPage==true}">
			<li>
				<a href="javascript:;" aria-label="Previous" onclick="goPage(${pageInfo.prePage}); return false;"> <span aria-hidden="true">&laquo;</span></a>
			</li>
		</c:if>
		
		<c:forEach begin="1" end="${pageInfo.pages}" varStatus="i">
			<li><a href="javascript:;" onclick="goPage(${i.count}); return false;">${i.count}</a></li>
		</c:forEach>
		
		<c:if test="${pageInfo.hasNextPage==false}">
			<li class="disabled">
				<a href="javascript:;" aria-label="Next" onclick="goPage(${pageInfo.nextPage}); return false;"> <span aria-hidden="true">&raquo;</span></a>
			</li>
		</c:if>
		<c:if test="${pageInfo.hasNextPage==true}">
			<li>
				<a href="javascript:;" aria-label="Next" onclick="goPage(${pageInfo.nextPage}); return false;"> <span aria-hidden="true">&raquo;</span></a>
			</li>
		</c:if>
	</ul>
</nav>